package com.aabte.spring.annotation.config;

import com.aabte.spring.thirdimport.MyImportBeanDefinitionRegistrar;
import com.example.beans.Blue;
import com.example.beans.Red;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * 通过ImportBeanDefinitionRegistrar实现手动注册Bean定义
 *
 * @author Daniel
 */
@Configuration
@Import(value = {Red.class, Blue.class, MyImportBeanDefinitionRegistrar.class})
public class ImportBeanDefinitionRegistrarConfig {
}
